﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UploadPhoto.ascx.cs"
    Inherits="Job.Web.userControls.Personal.UploadPhoto" %>
<style type="text/css">
    .style1
    {
        height: 24px;
    }
</style>


<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
	<tr><td class="titleTD">&nbsp;上传照片</td></tr>
	<tr><td>&nbsp;</td></tr>
</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td align="center" class="row22" align="left">
		
		

<table border="1px" bordercolor="#d8e1e7" style="border-style: solid; border-collapse: collapse"
    width="100%" class="ResumeBaseTable" align="center">
    <tbody>
        <tr align="left">
            <td class="ResumeTD" height="160px">
                <asp:Image ID="Image1" Height="140px" Width="105px" runat="server" />
            </td>
        </tr>
        
        <tr align="left">
            <td class="ResumeTD">
                <asp:FileUpload ID="fileUpload" runat="server" Width="371px" /><ASP:RegularExpressionValidator  

 id="RegularExpressionValidator1" runat="server"  

 ErrorMessage="只能上传jpg,jpeg,gif图片"  

 ValidationExpression="^.+\.(jp?g|gif|JP?G|GIF)$"
ControlToValidate="fileUpload"></ASP:RegularExpressionValidator>
                <br />
                <asp:Button ID="btnUpLoad" runat="server" onclick="btnUpLoad_Click" Text="上 传" 
                    Width="115px" CssClass="btn_2k3" />
            </td>
        </tr>
        <tr align="left">
            <td class="ResumeTD">
                请保证上传的照片高与宽的比较例为 4:3
            </td>
        </tr>        
    </tbody>
</table>



		</td>
	</tr>
</table>